﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CompanyList.aspx.cs" Inherits="YhmOA.Integrated.Letter.CompanyList" %>

<%@ Register Assembly="YhmOAPager" Namespace="YhmOA.Pager" TagPrefix="YhmOA" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link type="text/css" rel="Stylesheet" href="../../Styles/Common.css" />
    <script type="text/javascript" src="../../Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="../../Scripts/Common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="MainBody">
        <div style="height:30px; border:1px solid #93bee2; background-color: #DAEBF6; border-bottom:0px; line-height:30px; text-indent:8px; font-family:微软雅黑; font-size:18px; font-weight:bold; color:#6A6A6A;">
            综合行政 >> 外来信函管理 >> 快递公司管理
        </div>
        <div style="border: 1px solid #93BEE2; border-bottom: 0px; padding: 8px 0 8px 8px;">
            <table>
                <tr>
                    <td><input class="Button" onclick="return RoleVerification('1','Dialog(\'CompanyInfo.aspx\',\'快递公司--添加\',\'快递公司\',840,400);');" style="width:60px" type="text" value="添加" /></td>
                    <td><input class="Button" onclick="return RoleVerification('3','DeleteData();');" style="width:60px" type="text" value="删除" /></td>
                    <td><asp:TextBox ID="txt_Search" runat="server" notAjaxRender="notAjaxRender" CssClass="TextBoxSearch" onkeyup="Search();"></asp:TextBox></td>
                </tr>
            </table>
        </div>
        <asp:GridView ID="gvShow" runat="server" Width="100%" EmptyDataText="暂无数据..." CssClass="Table">
            <Columns>
               <asp:TemplateField>
                    <HeaderTemplate>
                        <input type="checkbox" id="allChecked" onclick="CheckedEvent('allChecked');" value="0" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <input  id="ItemChk" class="ItemChk" name="ItemChk" type="checkbox" value='<%# Eval("Id") %>' />
                    </ItemTemplate>
                    <ItemStyle Width="25px" CssClass="TdCenter"/>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate><a onclick="Sort('ID');" href="javascript:void(0);">查看</a></HeaderTemplate>
                    <ItemTemplate><a onclick="RoleVerification('0','Dialog(\'CompanyInfo.aspx?id=<%# Eval("Id") %>\',\'快递公司--查看\',\'快递公司\',840,500);');" href="javascript:void(0);">查看</a></ItemTemplate>
                    <ItemStyle Width="40px" CssClass="TdCenter"/>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <a onclick="Sort('CompanyName');" href="javascript:void(0);">快递公司名称</a></HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("CompanyName")%></ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <a onclick="Sort('CompanyCode');" href="javascript:void(0);">快递公司编号</a></HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("CompanyCode")%></ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <a onclick="Sort('CompanyStrat');" href="javascript:void(0);">签约时间</a></HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("CompanyStrat")%></ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <a onclick="Sort('CompanyEnd');" href="javascript:void(0);">结束事件</a></HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("CompanyEnd")%></ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <a onclick="Sort('CustomerServicePhone');" href="javascript:void(0);">客服电话</a></HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("CustomerServicePhone")%></ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <a onclick="Sort('SingleCheckURL');" href="javascript:void(0);">查单网址</a></HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("SingleCheckURL")%></ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
        <YhmOA:Pager ID="gvShowPager" runat="server"/>
    </div>
    </form>
</body>
</html>
